HTMLify

index.html
Views: 66 | Author: cody
<!DOCTYPE html>
<html>

<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>Circular Material Menu MI</title>
    <meta name='viewport' content='width=device-width, initial-scale=1'>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css" />
    <link rel='stylesheet' type='text/css' media='screen' href='style.css'>

    <script src="https://code.jquery.com/jquery-3.6.3.min.js"
        integrity="sha256-pvPw+upLPUjgMXY0G+8O0xUf+/Im1MZjXxxgOcBQBXU=" crossorigin="anonymous"></script>
</head>

<body>

    <div class="container">
        <div class="menu__toggle">
            <span class="fa-sharp fa-solid fa-plus"></span>
        </div>

        <ul class="menu__list">
            <li class="menu__item">
                <a href="#"><i class="fa-brands fa-twitter"></i></a>
            </li>

            <li class="menu__item">
                <a href="#"><i class="fa-brands fa-facebook-f"></i></a>
            </li>

            <li class="menu__item">
                <a href="#"><i class="fa-brands fa-instagram"></i></a>
            </li>
        </ul>
    </div>

    <script>
        $(".menu__toggle").click(function () {
            $(".menu__toggle").toggleClass("open");
            $(".menu__list").toggleClass("open");
        });
    </script>

</body>

</html>

Comments